(timeclock-get-workday-function): `timeclock-workday' is not a valid
authorGlenn Morris <rgm@gnu.org>
Fri, 12 Jul 2002 23:35:37 +0000 (23:35 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 12 Jul 2002 23:35:37 +0000 (23:35 +0000)
option for this, rather it is a value that may be returned.

lisp/calendar/timeclock.el

index c93464f02fe0eec425541cf353131281a5b7651b..21a931297e872116dc20b808b1e387224e9a8915 100644 (file)
@@ -124,11 +124,11 @@ If this variable is nil, no questions will be asked."
   "*A function used to determine the length of today's workday.
 The first time that a user clocks in each day, this function will be
 called to determine what the length of the current workday is.  If
-nil, or equal to `timeclock-workday', nothing special will be done.
-If it is a quantity different from `timeclock-workday', however, a
-record will be output to the timelog file to note the fact that that
-day has a different length from the norm."
-  :type '(choice (const nil) (function-item timeclock-workday) function)
+the return value is nil, or equal to `timeclock-workday', nothing special
+will be done.  If it is a quantity different from `timeclock-workday', 
+however, a record will be output to the timelog file to note the fact that
+that day has a different length from the norm."
+  :type '(choice (const nil) function)
   :group 'timeclock)
 
 (defcustom timeclock-ask-before-exiting t